<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$route['default_controller'] = 'index/index';

$route['404_override']         = 'home/not_found';
$route['translate_uri_dashes'] = false;

$route['product']               = 'index/product';
$route['product/(:num)']        = 'index/product/$1';
$route['product/(:num)/(:num)'] = 'index/product/$1/$2';
$route['product_show/(:num)']   = 'index/product_show/$1';

$route['page/(:num)'] = 'index/page/$1';
$route['about']     = 'index/page/4';

$route['contact'] = 'index/contact';

$route['join'] = 'index/join/5';
$route['join/(:num)'] = 'index/join/$1';

$route['price'] = 'index/price';
$route['jobs'] = 'index/jobs';

$route['news']               = 'index/news';
$route['news/(:num)']        = 'index/news/$1';
$route['news/(:num)/(:num)'] = 'index/news/$1/$2';
$route['news_show/(:num)']   = 'index/news_show/$1';

$route['admin'] = 'home/admin_login';